package com.ruoyi.project.charge.domin;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

import javax.xml.crypto.Data;
import java.util.Date;

/**
 * @auther:YU JIANG
 * @date:2021/7/15
 * @time:10:47
 */
public class ChargeQuery extends BaseEntity {
    private int id;
    private String order_id;
    private String registration_id;
    private String patient_name;
    private String total_amount;
    private String payment_method;
    private String order_status;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date creation_time;

    @Override
    public String toString() {
        return "ChargeQuery{" +
                "id=" + id +
                ", order_id='" + order_id + '\'' +
                ", registration_id='" + registration_id + '\'' +
                ", patient_name='" + patient_name + '\'' +
                ", total_amount='" + total_amount + '\'' +
                ", payment_method='" + payment_method + '\'' +
                ", order_status='" + order_status + '\'' +
                ", creation_time=" + creation_time +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getOrder_id() {
        return order_id;
    }

    public void setOrder_id(String order_id) {
        this.order_id = order_id;
    }

    public String getRegistration_id() {
        return registration_id;
    }

    public void setRegistration_id(String registration_id) {
        this.registration_id = registration_id;
    }

    public String getPatient_name() {
        return patient_name;
    }

    public void setPatient_name(String patient_name) {
        this.patient_name = patient_name;
    }

    public String getTotal_amount() {
        return total_amount;
    }

    public void setTotal_amount(String total_amount) {
        this.total_amount = total_amount;
    }

    public String getPayment_method() {
        return payment_method;
    }

    public void setPayment_method(String payment_method) {
        this.payment_method = payment_method;
    }

    public String getOrder_status() {
        return order_status;
    }

    public void setOrder_status(String order_status) {
        this.order_status = order_status;
    }

    public Date getCreation_time() {
        return creation_time;
    }

    public void setCreation_time(Date creation_time) {
        this.creation_time = creation_time;
    }
}
